package de.zainodis.triplog.ui;

import android.app.Activity;
import android.os.Bundle;

import de.zainodis.triplog.R;
import de.zainodis.triplog.ui.fragment.WeatherForecastDetailFragment;


public class DetailActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        if (savedInstanceState == null) {
            WeatherForecastDetailFragment fragment = new WeatherForecastDetailFragment();
            fragment.setArguments(getIntent().getExtras());
            getFragmentManager().beginTransaction()
                    .add(R.id.container, fragment)
                    .commit();
        }
    }

}
